package com.wrz.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class User {
    private Integer id;
    private String username;
    private String name;
    private String phone;
    private String dept;
    @DateTimeFormat(pattern = "yyyy-dd-MM HH:mm:ss")
    private Date created;
    private String statu;
    @DateTimeFormat(pattern = "yyyy-dd-MM HH:mm:ss")
    private Date d1;
    @DateTimeFormat(pattern = "yyyy-dd-MM HH:mm:ss")
    private Date d2;
}
